package com.zmx.core.dto;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * @Description: 心跳信息存储实体
 * @ClassName: HeartInfo
 * @Author zhaomxr
 * @Date 2021-12-14 15:54
 */
@Data
@ToString
public class HeartInfo implements Serializable {

    private String ip;

    private int port;

    private Date lasttime;

    private Map<String, String> cpuInfo = new HashMap<String, String>();

    private Map<String, String> memInfo = new HashMap<String, String>();
}
